package org.dreamwork.jasmine2.restful;

import com.google.gson.annotations.Expose;

/**
 * Created with IntelliJ IDEA.
 * User: seth.yang
 * Date: 14-11-21
 * Time: 下午7:47
 */
public class APIParameterDefinition {
    @Expose
    private String name;
    @Expose
    private String className;
    @Expose
    private String description;
    @Expose
    private boolean nullable;

    private Class<?> type;

    public String getName () {
        return name;
    }

    public void setName (String name) {
        this.name = name;
    }

    public String getClassName () {
        return className;
    }

    public void setClassName (String className) {
        this.className = className;
    }

    public Class<?> getType () {
        return type;
    }

    public void setType (Class<?> type) {
        this.type = type;
    }

    public String getDescription () {
        return description;
    }

    public void setDescription (String description) {
        this.description = description;
    }

    public boolean isNullable () {
        return nullable;
    }

    public void setNullable (boolean nullable) {
        this.nullable = nullable;
    }
}